<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>XML</title>
	<script type="text/javascript;e4x=1">
		var firefox = function(){
			alert("abc");
			myquestion = <question>
			          <display>Is it animal, vegetable, or mineral?</display>
			          <answerOption>Animal</answerOption>
			          <answerOption>Vegetable</answerOption>
			          <answerOption>Mineral</answerOption>
			     </question>;
			             
			alert("The question is '" + myquestion.display + "'");
		}
		
		firefox();
	</script>
</head>
<body>
	只能在foxfire下运行。ie7,ie8,ie9 不支持
	
	<a href="http://webservices.ctocio.com.cn/120/12190120_3.shtml">e4x</a>
	
</body>
</html>